<%--
  Created by chenyi
  email: qq228112142@qq.com
  Date : 2017-08-08 17:36:01
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="shiro" uri="http://shiro.apache.org/tags" %>
<html>
<head>
    <title></title>
    <%@ include file="/common/jsp/resource.jsp" %>
    <script type="text/javascript" src="/page/team/js/list.js"></script>
</head>
<body>
<form class="layui-form " action="">
    <div class="layui-form-item">
        <label class="layui-form-label">团队码:</label>
        <div class="layui-input-inline">
            <input type="text" name="teamCode"  placeholder="请输入团队码" class="layui-input">
        </div>
        <label class="layui-form-label">发起人账号:</label>
        <div class="layui-input-inline">
            <input type="text" name="initAccount"  placeholder="请输入发起人账号" class="layui-input">
        </div>
        <label class="layui-form-label">姓名:</label>
        <div class="layui-input-inline">
            <input type="text" name="initName"  placeholder="请输入姓名" class="layui-input">
        </div>
        <div class="layui-input-inline">
            <button class="layui-btn search-btn" table-id="TeamTable" lay-submit="" lay-filter="search"><i class="fa fa-search">&nbsp;</i>查询
            </button>
            <button type="reset" class="layui-btn layui-btn-primary"><i class="fa fa-refresh">&nbsp;</i>重置</button>
        </div>
    </div>
</form>
<div class="layui-btn-group">

    <button class="layui-btn" onclick="exportExcel('/team/export')">
        <i class="fa fa-download">&nbsp;</i>导出
    </button>
</div>
<div class="layui-form ">
    <table class="layui-table" id="TeamTable" cyType="pageGrid"
           cyProps="url:'/team/list',checkbox:'true',pageColor:'#2991d9'">
        <thead>
        <tr>
            <!--复选框-->
            <th width="1%" param="{type:'checkbox'}">
                <input type="checkbox" lay-skin="primary" lay-filter="allChoose">
            </th>
            			            <!--isPrimary：是否是主键-->
            <th width="10%" param="{name:'id',isPrimary:'true',hide:'true'}">主键</th>

		          <th width="10%" param="{name:'teamCode'}">团队码</th>
			            			
		          <th width="10%" param="{name:'initAccount'}">发起人云支付账号</th>
			            			
		          <th width="10%" param="{name:'initName'}">发起人姓名</th>
			            			
		          <th width="10%" param="{name:'initPhone'}">发起人电话号码</th>
			            			
		          <th width="10%" param="{name:'createTime'}">发起时间</th>
			            			
		          <th width="10%" param="{name:'teamNumber'}">团队人数</th>
			                        <!--isPrimary：渲染列-->
                  <th width="10%" param="{name:'teamNumber',render:'Render.customBtn'}">操作</th>
        </tr>
        </thead>
    </table>
</div>
</body>
</html>